package hk.linkcredit.walletservice.wallet.domain.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: Jamnsin
 * @Date: 2022/6/10 17:12
 */
@Data
public class WalletWithdrawReq {

    @NotBlank(message = "custNo cannot be empty")
    private String custNo;

    @NotNull(message = "Withdrawal applyAmount cannot be empty")
    private BigDecimal applyAmount;

    @NotBlank(message = "Please select a category to withdraw")
    private String walletType;

    @NotBlank(message = "The bank card belong to cannot be empty")
    private String bankCode;

    @NotBlank(message = "The withdrawal target bank account cannot be empty")
    private String bankAccount;
}
